home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / Data.cab / _926E9A94EE384DDA9E7A519300789384 < prev    next >
Encoding:
Text File  |  2003-11-04  |  1.2 KB  |  55 lines

  1. light("omni")
  2. {
  3.     pass()
  4.     {
  5.         tmu()
  6.         {
  7.             Texture()
  8.             {
  9.                 Image(TEXTURE1)
  10.             }
  11.             colorop("mul", "texture", "tfactor", "current")
  12.             alphaop("mul", "texture", "tfactor", "current")
  13.         }
  14.  
  15.         tmu()
  16.         {
  17.             texture()
  18.             {
  19.                 image("dynlight2d.png")
  20.                 addressfunc("clamp", "clamp", "clamp")
  21.                 filtering("linear_no_mip")
  22.             }
  23.  
  24.             texgen("dynlight2d")
  25.  
  26.             colorop("mul", "texture", "current", "current")
  27.             alphaop("mul", "texture", "current", "current")
  28.         }
  29.  
  30.         tmu()
  31.         {
  32.             texture()
  33.             {
  34.                 image("dynlight1d.png")
  35.                 addressfunc("clamp", "clamp", "clamp")
  36.                 filtering("linear_no_mip")
  37.             }
  38.  
  39.             texgen("dynlight1d")
  40.  
  41.             colorop("mul", "texture", "current", "current")
  42.             alphaop("mul", "texture", "current", "current")
  43.         }
  44.  
  45.         tfactor(1,1,1,1)
  46.         colorgen("tfactor", "user", 0,0,0, "user", 0,0,0)
  47.  
  48.         blendfunc("one", "one")
  49.         depthfunc("lequal", 0)
  50.  
  51.         blackfog()
  52.     }
  53. }
  54.  
  55.